package com.world.business.weapon.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.world.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 法宝材质关系表
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("weapon_texture")
@ApiModel(value = "WeaponTexture对象", description = "法宝材质关系表")
public class WeaponTexture extends BaseEntity {

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("法宝id")
    private Long weaponId;

    @ApiModelProperty("材质id")
    private Long textureId;

    @ApiModelProperty("比重")
    private Object ratio;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("所需数量")
    private Double num;

}
